package com.nf.handler;

import com.nf.MiniBasicRowProcessor;
import com.nf.MiniBeanProcessor;
import com.nf.MiniRowProcessor;

import java.util.Map;

public class Constants {
    /**
     * 要把这个放在DEFAULT_ROW_PROCESSOR之前，因为在实例化RowProcessor时会先实例化默认的Bean Processor
     * 如果把DEFAULT_BEAN_PROCESSOR放在DEFAULT_ROW_PROCESSOR下面会导致DEFAULT_BEAN_PROCESSOR还没有赋值，也就是null
     */

    public static final MiniBeanProcessor DEFAULT_BEAN_PROCESSOR=new MiniBeanProcessor();

    public static MiniRowProcessor DEFAULT_ROW_PROCESSOR=new MiniBasicRowProcessor();

    public static final Object[] EMPTY_ARRAY=new Object[0];



    public static final int PROPERTY_NOT_FOUND= -1;


}
